﻿<UserControl x:Class="Dispatchr.Client.Controls.Loading"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="using:Dispatchr.Client.Controls"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             d:DesignHeight="300"
             d:DesignWidth="400"
             mc:Ignorable="d">

    <Grid>
        <Grid.Background>
            <SolidColorBrush Opacity=".25" Color="Black" />
        </Grid.Background>
        <Grid VerticalAlignment="Center"
              Background="White"
              RequestedTheme="Light">
            <StackPanel Margin="0,50"
                        HorizontalAlignment="Center"
                        Orientation="Horizontal">
                <ProgressRing />
                <TextBlock x:Name="LoadingText"
                           VerticalAlignment="Center"
                           Style="{StaticResource GroupHeaderTextBlockStyle}"
                           Text="~Loading..." />
            </StackPanel>
        </Grid>
    </Grid>

</UserControl>
